package cn.leizp.springboot.server.netmanger.controller;

import net.sf.json.JSONObject;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.CrossOrigin;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.Base64;
import java.util.Date;

@Controller
public class HtmlController {

    @CrossOrigin
    @GetMapping("/index")
    public String index(Model model) {
            return "index";
    }
}
